#include "Shape.h"

void Shape::Create(float _x,float _y, float _sizeX,float _sizeY,bool _visible,char* _name,int _vtxCount,D3DPRIMITIVETYPE _primType,D3DVERTEX* _vertices){
	Entity2D::SetPosX(_x);
	Entity2D::SetPosY(_y);
	Entity2D::SetSizeX(_sizeX);
	Entity2D::SetSizeY(_sizeY);
	Entity2D::SetVisible(_visible);
	Entity2D::SetName(_name);
	Entity2D::SetCount(_vtxCount);
	Entity2D::SetPrimType(_primType);
	Entity2D::SetVertices(_vertices);
}

void Shape::Draw(Renderer* renderer){	
	Entity2D::Draw(renderer);
}